home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / RTLWIN16.PAK / WINMEM32.H < prev   
Text File  |  1997-05-06  |  1KB  |  42 lines

  1. /*****************************************************************************\
  2. *                                                                             *
  3. * winmem32.h -  Function prototypes and general defines                       *
  4. *                                                                             *
  5. \*****************************************************************************/
  6.  
  7. /* $Copyright: 1992$ */
  8.  
  9. #ifndef __WINMEM32_H    /* prevent multiple includes */
  10. #define __WINMEM32_H
  11.  
  12. #ifndef __WINDOWS_H
  13. #include <windows.h>    /* <windows.h> must be included */
  14. #endif  /* __WINDOWS_H */
  15.  
  16. /*
  17.  *
  18.  * The functions
  19.  *
  20.  */
  21. WORD    FAR PASCAL GetWinMem32Version(void);
  22. WORD    FAR PASCAL Global32Alloc(DWORD, LPWORD, DWORD, WORD);
  23. WORD    FAR PASCAL Global32Realloc(WORD, DWORD, WORD);
  24. WORD    FAR PASCAL Global32Free(WORD, WORD);
  25. WORD    FAR PASCAL Global16PointerAlloc(WORD, DWORD, LPDWORD, DWORD, WORD);
  26. WORD    FAR PASCAL Global16PointerFree(WORD, DWORD, WORD);
  27. WORD    FAR PASCAL Global32CodeAlias(WORD, LPWORD, WORD);
  28. WORD    FAR PASCAL Global32CodeAliasFree(WORD, WORD, WORD);
  29.  
  30. /*
  31.  *
  32.  * Error Codes
  33.  *
  34.  */
  35. #define WM32_Invalid_Func       0001
  36. #define WM32_Invalid_Flags      0002
  37. #define WM32_Invalid_Arg        0003
  38. #define WM32_Insufficient_Sels  0004
  39. #define WM32_Insufficient_Mem   0005
  40.  
  41. #endif  /* __WINMEM32_H */
  42.